package org.jeecg.modules.htxincailiao.analytics.service.impl;

import org.jeecg.modules.htxincailiao.analytics.domain.vo.HTNewsDetailVisitInfoVO;
import org.jeecg.modules.htxincailiao.analytics.domain.vo.HTNewsDetailVisitStatisticsVO;
import org.jeecg.modules.htxincailiao.analytics.entity.HTNewsDetailVisitAction;
import org.jeecg.modules.htxincailiao.analytics.mapper.HTNewsDetailVisitActionMapper;
import org.jeecg.modules.htxincailiao.analytics.service.IHTNewsDetailVisitActionService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: ht_news_detail_visit_action
 * @Author: jeecg-boot
 * @Date:   2022-12-10 10:12:02
 * @Version: V1.0
 */
@Service
public class HTNewsDetailVisitActionServiceImpl extends ServiceImpl<HTNewsDetailVisitActionMapper, HTNewsDetailVisitAction> implements IHTNewsDetailVisitActionService {

    @Override
    public List<HTNewsDetailVisitInfoVO> getPVUVData(String beginTime, String endTime) {
        return baseMapper.queryPVUVData(beginTime, endTime);
    }

    @Override
    public HTNewsDetailVisitStatisticsVO getStatistics(String beginTime, String endTime) {
        return baseMapper.queryStatistics(beginTime, endTime);
    }


}
